from api.api_register_login import ApiRegisterLogin
from api.api_tender import ApiTender
from api.api_trust_recharge import ApiTrustRecharge


class Api:
    def __init__(self, session):
        self.session = session

    # 获取ApiRegisterLogin对象
    @property
    def get_register_Login_api(self):
        return ApiRegisterLogin(self.session)

    # 获取ApiTender对象
    @property
    def get_tender_api(self):
        return ApiTender(self.session)

    # 获取ApiTrustRecharge对象
    @property
    def get_trust_recharge_api(self):
        return ApiTrustRecharge(self.session)
